package motor;

public class Matematik{

		public double topla(double x,double y)
		{
			return x+y;
				
		}
		
		public double cikar(double x,double y)
		{
			return x-y;
			
		}
		public double bol(double x,double y)
		{
			if(y!=0)
			return x/y;
			else
				return x;
		}
		public double carp(double x,double y)
		{
			return (x*y);
			
		}
		public int Mod(double x,double y)
		{
			int X=Integer.parseInt(String.valueOf(x));
			int Y=Integer.parseInt(String.valueOf(y));
			return X%Y;
			
		}
		

}
